package com.virgo.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListDataVo<T> implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 总条数
	 */
	private Long totalSize;

	/**
	 * 总页数
	 */
	private Long totalPage;

	/**
	 * 列表记录
	 */
	private List<T> rows;

}